Optimal. Leaf size=66 \[ -\frac {\sqrt {1-x} x^2}{4 \sqrt {-1+x}}+\frac {1}{2} x \sqrt {1-x^2} \cosh ^{-1}(x)-\frac {\sqrt {1-x} \cosh ^{-1}(x)^2}{4 \sqrt {-1+x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 66, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.214, Rules used = {5895, 5893, 30}
\begin {gather*} -\frac {\sqrt {1-x} x^2}{4 \sqrt {x-1}}+\frac {1}{2} \sqrt {1-x^2} x \cosh ^{-1}(x)-\frac {\sqrt {1-x} \cosh ^{-1}(x)^2}{4 \sqrt {x-1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 5893
Rule 5895
Rubi steps
\begin {align*} \int \sqrt {1-x^2} \cosh ^{-1}(x) \, dx &=\frac {\sqrt {1-x^2} \int \sqrt {-1+x} \sqrt {1+x} \cosh ^{-1}(x) \, dx}{\sqrt {-1+x} \sqrt {1+x}}\\ &=\frac {1}{2} x \sqrt {1-x^2} \cosh ^{-1}(x)-\frac {\sqrt {1-x^2} \int x \, dx}{2 \sqrt {-1+x} \sqrt {1+x}}-\frac {\sqrt {1-x^2} \int \frac {\cosh ^{-1}(x)}{\sqrt {-1+x} \sqrt {1+x}} \, dx}{2 \sqrt {-1+x} \sqrt {1+x}}\\ &=-\frac {x^2 \sqrt {1-x^2}}{4 \sqrt {-1+x} \sqrt {1+x}}+\frac {1}{2} x \sqrt {1-x^2} \cosh ^{-1}(x)-\frac {\sqrt {1-x^2} \cosh ^{-1}(x)^2}{4 \sqrt {-1+x} \sqrt {1+x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 54, normalized size = 0.82 \begin {gather*} -\frac {\sqrt {-((-1+x) (1+x))} \left (\cosh \left (2 \cosh ^{-1}(x)\right )+2 \cosh ^{-1}(x) \left (\cosh ^{-1}(x)-\sinh \left (2 \cosh ^{-1}(x)\right )\right )\right )}{8 \sqrt {\frac {-1+x}{1+x}} (1+x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(151\) vs.
\(2(50)=100\).
time = 3.58, size = 152, normalized size = 2.30
method | result | size |
default | \(-\frac {\sqrt {-x^{2}+1}\, \mathrm {arccosh}\left (x \right )^{2}}{4 \sqrt {x -1}\, \sqrt {1+x}}+\frac {\sqrt {-x^{2}+1}\, \left (2 x^{3}-2 x +2 \sqrt {1+x}\, \sqrt {x -1}\, x^{2}-\sqrt {x -1}\, \sqrt {1+x}\right ) \left (-1+2 \,\mathrm {arccosh}\left (x \right )\right )}{16 \left (1+x \right ) \left (x -1\right )}+\frac {\sqrt {-x^{2}+1}\, \left (-2 \sqrt {1+x}\, \sqrt {x -1}\, x^{2}+2 x^{3}+\sqrt {x -1}\, \sqrt {1+x}-2 x \right ) \left (1+2 \,\mathrm {arccosh}\left (x \right )\right )}{16 \left (1+x \right ) \left (x -1\right )}\) | \(152\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt {- \left (x - 1\right ) \left (x + 1\right )} \operatorname {acosh}{\left (x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \mathrm {acosh}\left (x\right )\,\sqrt {1-x^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________